﻿using Common;
using Network.UpdateData;
using System.Net.Sockets;

namespace SFJDService.SocketHandle
{
    class PH02AddBrigade : PacketHandle
    {
        public PH02AddBrigade(Socket socket, Packet packet) : base(socket, packet) { }

        protected override void Handle()
        {
            ClassBrigade brigade = new ClassBrigade();
            brigade.DecodingFromString(Message);
            Runtime.xmlBrigade.AddBrigade(brigade);
        }
    }
}
